import http from '../http_request.js'; //引进requst方法

export const visiteradd = (data) => { // 增加长期访客
	return http.postrequest('visiter/add',data)
}
export const visiteredit = (data) => { // 修改访客访问时间
	return http.postrequest('visiter/edit',data)
}
export const visiterdel = (data) => { // 删除长期访问人
	return http.postrequest('visiter/delete',data)
}
export const visiterlist = (data) => { // 访客列表
	return http.getrequest('visiter/getlist',data)
}

export const userinfovisit = (data) => { // 访客详情
	return http.getrequest('user/infovisit',data)
}
export const applogslist = (data) => { // 计划来访列表
	return http.getrequest('visiter/applogslist',data)
}
export const visitlog = (data) => { // 来访记录列表
	return http.getrequest('visiter/visitlog',data)
}


